
<template>
  <!-- <div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">
        <div class="modal-header">
          <i class="icon icon-modal-close" @click="close()"></i>
          <span class="modal-title">增加云机</span>注：如装.
        </div>
        <div
          class="modal-body"
        >在这里添加在这里添加一些文里添加一些文本一些文本</div>
        <div class="modal-footer">
          <button type="button" class="btn btn-danger btn-sm" @click="close()">关闭</button>
          <button type="button" class="btn btn-primary btn-sm">确定</button>
        </div>
      </div>
    </div>
  </div>-->
  <div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">
        <div class="modal-header">
          <i class="icon icon-modal-close" @click="close()"></i>
          <span class="modal-title">增加云机</span>
          <span class="red">注：如非必要,请不要将基础版和标准版的云手机放到同一分组下，有可能会影响应用安装.</span>
        </div>
        <div class="modal-body">
          <div class="tab-container">
            <ul class="nav nav-tabs">
              <li class="narrow active">
                <a href="#design" data-toggle="tab" class="active">指定组内云机</a>
              </li>
              <li class="width">
                <a href="#quick" data-toggle="tab">快捷设置</a>
              </li>
            </ul>
            <div class="tab-content">
              <div class="tab-pane active" id="design">
                <div class="table-scroll">
                  <table class="table-cover table-stripe">
                    <thead>
                      <tr>
                        <th>
                          <input type="checkbox">
                        </th>
                        <th>云机ID</th>
                        <th>云机备注</th>
                        <th>云机sssssssssssss类型</th>
                        <th>状态</th>
                        <th>到期时间</th>
                        <th>应用安装数量</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td>
                          <input type="checkbox">
                        </td>
                        <td>sssssss</td>
                        <td>wwwwsssssw</td>
                        <td>qqqwwwwwsssswqq</td>
                        <td>sssssss</td>
                        <td>wwwsssssssssss</td>
                        <td>qqqqq</td>
                      </tr>
                      <tr>
                        <td>
                          <input type="checkbox">
                        </td>
                        <td>sssssss</td>
                        <td>wwwwwsssssssssssssw</td>
                        <td>qqqqq</td>
                        <td>sssssss</td>
                        <td>wwwssssssssww</td>
                        <td>qqqqq</td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <div class="tab-pane" id="quick">sssss</div>
            </div>
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-danger btn-sm" @click="close()">关闭</button>
          <button type="button" class="btn btn-primary btn-sm">确定</button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created(){
  },
  methods: {
    close() {
      this.$store.commit("setDialogStatus", {
        dialog: "addPhoneDialog",
        isBoolean: false
      });
    }
  }
};
</script>

<style lang="scss" scoped>
$tab-border: #dee2e6;
$white-light: #f5f5f5;
$primary: #007bff;
$primary-shadow: rgba(82, 168, 236, 0.6);
.modal-title {
  margin-right: 10px;
}
.tab-container {
  box-sizing: border-box;
  border: 1px solid $tab-border;
}
.nav-tabs {
  line-height: 34px;
  li {
    border-right: 1px solid $tab-border;
    color: $primary;
    &:hover {
      color: $primary-shadow;
    }
    a {
      padding: 0px 10px;
      &.active {
        border-bottom: 2px solid $primary;
      }
    }
  }
}
</style>